package com.example.xm.mapper;

import com.example.xm.entity.PinglunEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface PinglunMapper {
    void add(PinglunEntity pinglunEntity);

    PinglunEntity getById(Integer id);

    List<PinglunEntity> list(Integer productId);
}
